/*
 * XML Type:  XFont
 * Namespace: http://www.seedwill.com/xul/widget/
 * Java type: com.seedwill.xul.widget.XFont
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.widget;


/**
 * An XML XFont(@http://www.seedwill.com/xul/widget/).
 *
 * This is a complex type.
 */
public interface XFont extends com.seedwill.xul.core.XIdentified
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XFont.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xfont77f9type");
    
    /**
     * Gets the "size" attribute
     */
    int getSize();
    
    /**
     * Gets (as xml) the "size" attribute
     */
    org.apache.xmlbeans.XmlInt xgetSize();
    
    /**
     * True if has "size" attribute
     */
    boolean isSetSize();
    
    /**
     * Sets the "size" attribute
     */
    void setSize(int size);
    
    /**
     * Sets (as xml) the "size" attribute
     */
    void xsetSize(org.apache.xmlbeans.XmlInt size);
    
    /**
     * Unsets the "size" attribute
     */
    void unsetSize();
    
    /**
     * Gets the "unit" attribute
     */
    com.seedwill.xul.core.XUnit.Enum getUnit();
    
    /**
     * Gets (as xml) the "unit" attribute
     */
    com.seedwill.xul.core.XUnit xgetUnit();
    
    /**
     * True if has "unit" attribute
     */
    boolean isSetUnit();
    
    /**
     * Sets the "unit" attribute
     */
    void setUnit(com.seedwill.xul.core.XUnit.Enum unit);
    
    /**
     * Sets (as xml) the "unit" attribute
     */
    void xsetUnit(com.seedwill.xul.core.XUnit unit);
    
    /**
     * Unsets the "unit" attribute
     */
    void unsetUnit();
    
    /**
     * Gets the "border" attribute
     */
    boolean getBorder();
    
    /**
     * Gets (as xml) the "border" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetBorder();
    
    /**
     * True if has "border" attribute
     */
    boolean isSetBorder();
    
    /**
     * Sets the "border" attribute
     */
    void setBorder(boolean border);
    
    /**
     * Sets (as xml) the "border" attribute
     */
    void xsetBorder(org.apache.xmlbeans.XmlBoolean border);
    
    /**
     * Unsets the "border" attribute
     */
    void unsetBorder();
    
    /**
     * Gets the "gdiCharset" attribute
     */
    java.lang.String getGdiCharset();
    
    /**
     * Gets (as xml) the "gdiCharset" attribute
     */
    org.apache.xmlbeans.XmlString xgetGdiCharset();
    
    /**
     * True if has "gdiCharset" attribute
     */
    boolean isSetGdiCharset();
    
    /**
     * Sets the "gdiCharset" attribute
     */
    void setGdiCharset(java.lang.String gdiCharset);
    
    /**
     * Sets (as xml) the "gdiCharset" attribute
     */
    void xsetGdiCharset(org.apache.xmlbeans.XmlString gdiCharset);
    
    /**
     * Unsets the "gdiCharset" attribute
     */
    void unsetGdiCharset();
    
    /**
     * Gets the "gdiVerticalFont" attribute
     */
    boolean getGdiVerticalFont();
    
    /**
     * Gets (as xml) the "gdiVerticalFont" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetGdiVerticalFont();
    
    /**
     * True if has "gdiVerticalFont" attribute
     */
    boolean isSetGdiVerticalFont();
    
    /**
     * Sets the "gdiVerticalFont" attribute
     */
    void setGdiVerticalFont(boolean gdiVerticalFont);
    
    /**
     * Sets (as xml) the "gdiVerticalFont" attribute
     */
    void xsetGdiVerticalFont(org.apache.xmlbeans.XmlBoolean gdiVerticalFont);
    
    /**
     * Unsets the "gdiVerticalFont" attribute
     */
    void unsetGdiVerticalFont();
    
    /**
     * Gets the "regular" attribute
     */
    boolean getRegular();
    
    /**
     * Gets (as xml) the "regular" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetRegular();
    
    /**
     * True if has "regular" attribute
     */
    boolean isSetRegular();
    
    /**
     * Sets the "regular" attribute
     */
    void setRegular(boolean regular);
    
    /**
     * Sets (as xml) the "regular" attribute
     */
    void xsetRegular(org.apache.xmlbeans.XmlBoolean regular);
    
    /**
     * Unsets the "regular" attribute
     */
    void unsetRegular();
    
    /**
     * Gets the "italic" attribute
     */
    boolean getItalic();
    
    /**
     * Gets (as xml) the "italic" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetItalic();
    
    /**
     * True if has "italic" attribute
     */
    boolean isSetItalic();
    
    /**
     * Sets the "italic" attribute
     */
    void setItalic(boolean italic);
    
    /**
     * Sets (as xml) the "italic" attribute
     */
    void xsetItalic(org.apache.xmlbeans.XmlBoolean italic);
    
    /**
     * Unsets the "italic" attribute
     */
    void unsetItalic();
    
    /**
     * Gets the "bold" attribute
     */
    boolean getBold();
    
    /**
     * Gets (as xml) the "bold" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetBold();
    
    /**
     * True if has "bold" attribute
     */
    boolean isSetBold();
    
    /**
     * Sets the "bold" attribute
     */
    void setBold(boolean bold);
    
    /**
     * Sets (as xml) the "bold" attribute
     */
    void xsetBold(org.apache.xmlbeans.XmlBoolean bold);
    
    /**
     * Unsets the "bold" attribute
     */
    void unsetBold();
    
    /**
     * Gets the "strikeout" attribute
     */
    boolean getStrikeout();
    
    /**
     * Gets (as xml) the "strikeout" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetStrikeout();
    
    /**
     * True if has "strikeout" attribute
     */
    boolean isSetStrikeout();
    
    /**
     * Sets the "strikeout" attribute
     */
    void setStrikeout(boolean strikeout);
    
    /**
     * Sets (as xml) the "strikeout" attribute
     */
    void xsetStrikeout(org.apache.xmlbeans.XmlBoolean strikeout);
    
    /**
     * Unsets the "strikeout" attribute
     */
    void unsetStrikeout();
    
    /**
     * Gets the "underline" attribute
     */
    boolean getUnderline();
    
    /**
     * Gets (as xml) the "underline" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetUnderline();
    
    /**
     * True if has "underline" attribute
     */
    boolean isSetUnderline();
    
    /**
     * Sets the "underline" attribute
     */
    void setUnderline(boolean underline);
    
    /**
     * Sets (as xml) the "underline" attribute
     */
    void xsetUnderline(org.apache.xmlbeans.XmlBoolean underline);
    
    /**
     * Unsets the "underline" attribute
     */
    void unsetUnderline();
    
    /**
     * Gets the "color" attribute
     */
    java.lang.String getColor();
    
    /**
     * Gets (as xml) the "color" attribute
     */
    org.apache.xmlbeans.XmlString xgetColor();
    
    /**
     * True if has "color" attribute
     */
    boolean isSetColor();
    
    /**
     * Sets the "color" attribute
     */
    void setColor(java.lang.String color);
    
    /**
     * Sets (as xml) the "color" attribute
     */
    void xsetColor(org.apache.xmlbeans.XmlString color);
    
    /**
     * Unsets the "color" attribute
     */
    void unsetColor();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.widget.XFont newInstance() {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.widget.XFont newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.widget.XFont parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.widget.XFont parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.widget.XFont parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.widget.XFont parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.widget.XFont parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.widget.XFont parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.widget.XFont parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XFont parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XFont parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XFont) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
